package com.mini.req;

import com.fasterxml.jackson.databind.annotation.JsonDeserialize;
import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.mini.util.LongJsonDeserializer;
import com.mini.util.LongJsonSerializer;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;
/**
 * 项目名称：traditional-business
 * 类 名 称：CooperativeUpdateReq
 * 类 描 述：TODO
 * 创建时间：2020/12/2 下午3:07
 * 创 建 人：zhanghuiying
 */
@Data
@ToString
@AllArgsConstructor
@NoArgsConstructor
@ApiModel("更新合作列表")
public class CooperativeUpdateReq {

    @JsonDeserialize(using = LongJsonDeserializer.class)
    @JsonSerialize(using = LongJsonSerializer.class)
    @ApiModelProperty(value = "合作id")
    private Long id;
    @ApiModelProperty(value = "更新类型（2-确认 3-撤销  4-解除）")
    private Integer cooperativeState;
    @ApiModelProperty(value = "管理类型（1-投放合作管理 2-销售合作管理）")
    private Integer applyUser;
}